package cn.muqingfeng.api.to;

import java.util.ArrayList;
import java.util.List;

import com.google.gson.annotations.SerializedName;

public class ArticleDetailInfoTO {

	@SerializedName("fid")
	private String fid;

	@SerializedName("thread")
	private ArticleDetailThreadTO threadInfo;

	@SerializedName("postlist")
	private List<ArticleDetailFloorsInfoTO> postlist;

	@SerializedName("ppp")
	private int pageSize;

	public String getFid() {
		return fid;
	}

	public void setFid(String fid) {
		this.fid = fid;
	}

	public ArticleDetailThreadTO getThreadInfo() {
		return threadInfo;
	}

	public void setThreadInfo(ArticleDetailThreadTO threadInfo) {
		this.threadInfo = threadInfo;
	}

	public List<ArticleDetailFloorsInfoTO> getPostlist() {
		return postlist == null ? new ArrayList<ArticleDetailFloorsInfoTO>() : postlist;
	}

	public void setPostlist(List<ArticleDetailFloorsInfoTO> postlist) {
		this.postlist = postlist;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

}
